package com.cam.framework.file.controller;

import com.cam.framework.utils.RestResult;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import org.springframework.web.multipart.MultipartFile;

@RestController
@RequestMapping("/file")
public class FileController {

    @PostMapping("/upload")
    public RestResult upload(MultipartFile file) {
        return RestResult.success();
    }

}
